package com.wangmengtao.upms.service;

import com.wangmengtao.upms.model.UpmsUser;

import java.util.List;

/**
 * @ClassName: UpmsUserService
 * @Description: TODO
 * @Author: WangMengtao
 * @Data: 2019/6/5 17:15
 * @Version: 1.0.0
 */
public interface UpmsUserService extends BaseService<UpmsUser> {
    List<UpmsUser> listByDeptId(Long deptId) throws Exception;

    UpmsUser getByPhone(String phone, String password) throws Exception;

    UpmsUser getByEmail(String email, String password) throws Exception;
}
